package com.css.dzj.zfjg.modules.admpenalty.Vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.google.common.base.Objects;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 导入字段
 * @Author WT
 * @Date 2020/6/3
 */
@Data
public class AdmExcelVo implements IExcelDataModel, IExcelModel {

    private Integer rowNum;
    private String errorMsg;

    @NotNull(message = "数据缺失")
    @Excel(name = "处罚行为名称")
    private String enforceName;

    @NotNull(message = "数据缺失")
    @Excel(name = "实施机构")
    private String enforceOrganization;

    @NotNull(message = "数据缺失")
    @Excel(name = "实施机构地址(XX省-XX市-XX区)")
    private String enforceOrganizationSite;

    @NotNull(message = "数据缺失")
    @Excel(name = "案件来源")
    private String caseSource;

    @NotNull(message = "数据缺失")
    @Excel(name = "案件类别")
    private String caseCategory;

    @NotNull(message = "数据缺失")
    @Excel(name = "处罚对象")
    private String enforceObject;

    @NotNull(message = "数据缺失")
    @Excel(name = "处罚依据")
    private String enforceGist;

    @NotNull(message = "数据缺失")
    @Excel(name = "案件基本情况")
    private String caseInformation;

    @NotNull(message = "数据缺失")
    @Excel(name = "违法事实")
    private String breakFact;

    @NotNull(message = "数据缺失或时间格式错误")
    @Excel(name = "立案时间(YYYY-MM-DD)")
    private Date registerTime;

    @NotNull(message = "数据缺失")
    @Excel(name = "是否进行法制审核")
    private String isLegalCheck;

    @NotNull(message = "数据缺失")
    @Excel(name = "处罚结果")
    private String disposeResult;

    @NotNull(message = "数据缺失")
    @Excel(name = "罚款金额(万元)")
    private BigDecimal penaltyMoney;

    @NotNull(message = "数据缺失")
    @Excel(name = "处罚种类")
    private String penaltyCategory;

    @NotNull(message = "数据缺失")
    @Excel(name = "案例分析")
    private String caseAnalyze;

    @Excel(name = "其他输入文本框")
    private  String otherResult;

    @Excel(name = "案件类别文本输入框")
    private String otherCase;

    @NotNull(message = "数据缺失")
    @Excel(name = "此案件信息已经过本单位领导审核")
    private String isSubmit;

    public AdmExcelVo() {
    }

}
